package com.learn.rpc.socket;

import com.learn.rpc.common.IAdminUserService;

/**
 * 将原本的写在客户端的调用Socket的功能方法写入到继承实现接口的类中,进行调用,和最初版本只是调用时做了一定封装
 * @author wangxing
 * @version 2020/8/14 17:32 Administrator
 */
public class RpcClient2 {
    public static void main(String[] args) {
        IAdminUserService service = new  RogueProxyAdminUserServiceImpl();
        System.out.println(service.findAdminUserById(100));
    }
}
